<template>
  <CrudTable :columns="columns" :api="api" />
</template>
<script setup>
import CrudTable from '@/components/CrudTable.vue'
import * as api from '@/api/category'
const columns = [
  { prop: 'id', label: '分类ID' },
  { prop: 'categoryName', label: '分类名称' },
  { prop: 'description', label: '分类描述' }
]
</script>